<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script typet="text/javascript" src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
    <script>

        //自定义JSON数据格式 Java中的对象
        var person={"name":"tom","sex":"女","age":12};
        console.log(person);

        //数组格式
        var persons={"person":[{"name":"tom","sex":"女","age":12},{"name":"jerry","sex":"男","age":15}]};
        console.log(persons);

        //集合格式
        var list=[{"name":"tom","sex":"女","age":12},{"name":"jerry","sex":"男","age":15}];
        console.log(list);
    </script>
</head>
<body>

</body>
</html>